package name.luojun.DBhelper.ORM.drivers;
import java.io.IOException;
import java.sql.Connection;
import java.util.Map;

import name.luojun.DBhelper.ORM.entity.Column;
import name.luojun.DBhelper.ORM.entity.ForeignKey;
import name.luojun.DBhelper.ORM.entity.PrimaryKey;
import name.luojun.DBhelper.ORM.entity.Table;
import name.luojun.DBhelper.ORM.entity.UniqueKey;
@SuppressWarnings("unused")
public class OracleDriver extends DriverSupport {
	public OracleDriver(Connection connection) {
		super(connection);
		try {
			this.init();
		} catch (IOException e) {
			throw new RuntimeException(e);
		}
	}
	private void init() throws IOException {
		Map<String, Map<String, String>> d2o = this.loadProperties("oracleD2O.properties");
		//Map<String, Map<String, String>> o2d = this.loadProperties("oracleO2D.properties");
	}
	@Override
	public void createTable(Table table) {
	}
	@Override
	public boolean equals(Column before, Column now) {
		return false;
	}
	@Override
	public boolean equals(PrimaryKey before, PrimaryKey now) {
		return false;
	}
	@Override
	public Table getTable(String name) {
		return null;
	}
	@Override
	public void addColumn(Table table, Column column) {
	}
	@Override
	public void modifyColumn(Table table, Column column, Column before) {
	}
	@Override
	public void dropColumn(Table table, Column column) {
	}
	@Override
	public void renameColumn(Table table, Column column, String newname) {
	}
	@Override
	public void dropPrimayKey(Table table) {
	}
	@Override
	public void addPrimayKey(Table table) {
	}
	@Override
	public void dropUniqueKey(Table table, UniqueKey uniqueKey) {
	}
	@Override
	public void addUniqueKey(Table table, UniqueKey uniqueKey) {
	}
	@Override
	public void dropForeignKey(Table table, ForeignKey foreignKey) {
	}
	@Override
	public void addForeignKey(Table table, ForeignKey foreignKey) {
	}
	@Override
	public void addcomment(Table table, Column column) {
	}
	@Override
	public boolean isCaseSensitive() {
		return false;
	}
}
